package io.github.dao;

import io.github.entity.SysEquipmentEntity;
import io.github.util.BaseDao;

import java.util.List;

/**
 * @author: weil
 * @date: 2019/9/27 11:13
 * @version: 1.0
 * @description:
 */
public interface SysEquipmentDao extends BaseDao<SysEquipmentEntity> {

    /**
     * 更新设备
     */
    void updateNoMapper(SysEquipmentEntity equipment);

    /**
     * 根据地区id获取设备编号
     */
    List<SysEquipmentEntity> selectByAreaid(String areaid);

    /**
     * 根据地区id获取设备编号集合
     */
    List<String> queryEquipnumList(String areaid);

}
